﻿using System;
using System.Windows.Forms;
using EzDeploy.Core;
using EzDeploy.Core.Controls;

namespace EzDeploy
{
    public partial class DetailForm : Form
    {
        public DetailForm(DeployGridItem item)
        {
            InitializeComponent();
            propertyGrid1.SelectedObject = new AssemblyInfoFlat(item);
        }

        private void DetailForm_Load(object sender, EventArgs e)
        {
            if (!this.DesignMode)
            {
                propertyGrid1.SetLabelColumnWidth(110);
            }
        }
    }
}
